<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/WEB-INF/jsp/com/include/declare.jspf" %>
<%@ include file="/WEB-INF/jsp/com/include/doctype.jspf" %>
<html>
<head>
<script type="text/javascript" src="<c:url value='/common/js/jquery-1.7.1.js'/>"></script>
<script type="text/javascript" src="<c:url value='/common/js/jquery-ui-1.8.16.custom.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/common/js/jquery-popup.0.2.js'/>"></script>
<script type="text/javascript" src="<c:url value='/common/js/ajaxupload.js'/>"></script>
<script type="text/javascript" src="<c:url value='/common/js/Common.js'/>"></script>


</head>
<script type="text/javascript">

function extIdFindAction()
{

   var mbrNm = document.extIdFindForm.mbrNm.value;

    var mobileCom = document.extIdFindForm.mobileCom.value;
    var telPrx = document.extIdFindForm.telPrx.value;
    var telTail = document.extIdFindForm.telTail.value;
    var hpNo = mobileCom + telPrx + telTail ;
    

   // cef2PopUp("extIdFind","extIdFindRst");
    
    

     
 }
 
 
function dataLengthCheck(maxLen,obj)
{
    var str= obj.value;
    var cntHan;
    
    cntHan = (escape(str)+"%u").match(/%u/g).length-1;
    
    if(maxLen < (str.length + cntHan))
    {
        alert("총 영숫자  [" + maxLen + "]자, 한글  [" + parseInt(maxLen/2) + "]자 까지 사용하실 수 있습니다. " );
        //입력한 값을 maxLen 길이로 자르기
        while(maxLen < str.length + cntHan)
        {
            str = str.substring(0,str.length-1);
            cntHan = (escape(str)+"%u").match(/%u/g).length-1;
        }
        obj.value = str;
        obj.focus();
        return  false;

  }    
   return true;
    
    
    
}

function numbersOnly(obj)
{
    var str = obj.value;
   
    if(str.length > 0)
    {
        if(isNaN(str) == true )
        {
            alert("숫자만 입력 가능합니다");
            obj.value = "";
            return false;
        }    
    }
    
    return true;
    
}




 
</script>
<body>


<form method="post" action="" name="extIdFindForm" id="extIdFindForm" onsubmit="return false" >



<!-- 기존회원전환 아이디찾기 -->
<div id="idfindpopup" class="layerpopup idfindpopup"><div class="layerpopup-inner">
    <div class="layerpopup-head">
        <h1><img src="/kr/images/layerpopup/h1_idfind.gif" alt="아이디찾기" /></h1>
        <p class="desc"><img src="/kr/images/layerpopup/h1_idfind_desc.gif" alt="이벤트 응모 및 경품 수령 등을 위한 고객님의 정확한 정보를 확인, 입력해 주세요." /></p>
    </div>
    <div class="layerpopup-contents">
        <div class="person-info-wrap">
            <div class="person-info">
                <table summary="">
                <colgroup>
                    <col width="25%" />
                    <col />
                </colgroup>
                <tbody>
                <tr>
                    <th scope="row"><img src="/kr/images/layerpopup/txt_person_info01.png" alt="성명" /></th>
                    <td class="input">
                        <input type="text" class="txt" style="width:194px" value="" id="mbrNm" name="mbrNm" />
                    </td>
                </tr>
                <tr>
                    <th scope="row"><img src="/kr/images/layerpopup/txt_person_info02.png" alt="휴대폰 번호" /></th>
                    <td class="input">
                        <select class="select select-type1" style="width:56px;" name="mobileCom" id="mobileCom">
                            <option value="010" selected>010</option>
                            <option value="011">011</option>
                            <option value="016">016</option>
                            <option value="017">017</option>
                            <option value="018">018</option>
                            <option value="019">019</option>
                         
                        </select>
                        -
                        <input type="text" class="txt" style="width:61px;" title="앞자리 입력" maxlength="4" name="telPrx" id="telPrx" onKeyup="numbersOnly(this)" />
                        -
                        <input type="text" class="txt" style="width:61px;" title="뒷자리 입력"  ass="txt" style="width:61px;" maxlength="4" name="telTail" id="telTail" onKeyup="numbersOnly(this)"/>
                    </td>
                </tr>
                </tbody>
                </table>
            </div>
        </div>
        <div class="btnwrap">
            <a href="#"><img src="/kr/images/layerpopup/btn_confirm04.gif" alt="확인" onClick="extIdFindAction()" /></a>
        </div>
    </div>
    <!-- close -->
    <div class="close-area"><div class="close-area-inner">
        <img src="/kr/images/layerpopup/btn_close.gif" alt="닫기" class="close" />
    </div></div>
    <!-- //close -->
</div></div>
<!-- //기존회원전환 아이디찾기 -->


</form>
</body>
</html>